//引入重置样式
require('../../assets/css/reset.css')

//引入公共样式
require('../../assets/css/property.css')

//加载自己的样式
require('./ride.less')

//引入封装的dom
require('../../assets/js/dom.js')

//复用的basic
require('../../assets/css/basic.less')

//引入fonts字体图标
require('../../assets/fonts/iconfont.css')

//获取axios工具函数
const request = require('../../utils/request')

//引入tabbar渲染函数
const renderTabber = require('../../utils/tabbar')

//导入navbar
const renderNavbar = require('../../utils/navbar')

//等待dom加载完毕之后操作dom
document.ready(() => {
    renderTabber('run');
    renderNavbar('ride');
    //  创建地图实例 
    let map = new BMapGL.Map("container");
    // 创建点坐标 
    let point = new BMapGL.Point(104.064209, 30.541669);
    // 初始化地图，设置中心点坐标和地图级别
    map.centerAndZoom(point, 15);
    // 开启鼠标滚轮缩放
    map.enableScrollWheelZoom(true);
})